package com.example.home_app.http.base.Onenet_online

import com.example.home_app.base.Onenet_online.Devices


/**
 * Created by dell on 2021/8/10.
 */
class Data {

    private var devices: List<Devices>? = null
    private var total_count = 0
    fun setDevices(devices: List<Devices>?) {
        this.devices = devices
    }

    fun getDevices(): List<Devices>? {
        return devices
    }

    fun setTotal_count(total_count: Int) {
        this.total_count = total_count
    }

    fun getTotal_count(): Int {
        return total_count
    }

    override fun toString(): String {
        return "Data{" +
                "devices=" + devices +
                ", total_count=" + total_count +
                '}'
    }
}